/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.board;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.board.BoardRoom;

/**
 * @author Alucard (email:357375084@qq.com)
 * @since 2013-03-14
 */
public interface BoardRoomService {

    /****************************************
     * Insert a instace of BoardRoom
     ****************************************/
    void insert(BoardRoom boardroom) throws Exception;

    /****************************************
     * Insert instaces of BoardRoom
     ****************************************/
    void batchInsert(BoardRoom boardroom) throws Exception;

    /****************************************
     * Delete a instace of BoardRoom
     ****************************************/
    void delete(BoardRoom boardroom) throws Exception;

    /****************************************
     * Delete instaces of BoardRoom
     ****************************************/
    void batchDelete(BoardRoom boardroom) throws Exception;

    /****************************************
     * Update a instace of BoardRoom
     ****************************************/
    void update(BoardRoom boardroom) throws Exception;

    /****************************************
     * Query instaces of BoardRoom
     ****************************************/
    List<BaseModel> queryAsList(BoardRoom boardroom) throws Exception;

    /****************************************
     * Query a instaces of BoardRoom
     ****************************************/
    BaseModel queryAsObject(BoardRoom boardroom) throws Exception;
}
